package com.ruoyi.merchant.service.impl;

import com.ruoyi.common.core.cg.pojo.Leader;
import com.ruoyi.merchant.dto.UserDTO;
import com.ruoyi.merchant.mapper.LeaderMapper;
import com.ruoyi.merchant.service.LeaderService;
import com.ruoyi.merchant.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author ？？？
* @description 针对表【leader】的数据库操作Service实现
* @createDate 2025-03-13 08:38:20
*/
@Service
public class LeaderServiceImpl
    implements LeaderService{

    @Autowired
    private LeaderMapper leaderMapper;
    @Override
    public Result selectById(Integer uid) {
        UserDTO userDTO = leaderMapper.selectById(uid);
        return Result.ok(userDTO);
    }
}




